package com.example.jk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName sport_info
 */
@TableName(value ="sport_info")
@Data
public class SportInfo extends PageObj implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String sportType;

    /**
     * 
     */
    private String suitableTime;

    /**
     * 
     */
    private String suitableHeartRate;

    /**
     * 
     */
    private String suitableFrequency;

    /**
     * 
     */
    private String recommendedSpeed;
    public SportInfo(Integer id, String sportType, String suitableTime, String suitableHeartRate, String suitableFrequency, String recommendedSpeed) {
        this.id = id;
        this.sportType = sportType;
        this.suitableTime = suitableTime;
        this.suitableHeartRate = suitableHeartRate;
        this.suitableFrequency = suitableFrequency;
        this.recommendedSpeed = recommendedSpeed;
    }
}